package com.zhou.bjgl.bjgl.req.b_holiday;

import com.baomidou.mybatisplus.annotation.*;
import com.zhou.bjgl.bjgl.req.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author jz
 * @since 2021-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BHoliday对象", description="")
public class BHolidayQueryReq extends PageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "记录id")
    private Long id;

    @ApiModelProperty(value = "学生id")
    private Long studentId;

    @ApiModelProperty(value = "请假理由")
    private String reson;

    @ApiModelProperty(value = "学院id")
    private Long collegeId;

    @ApiModelProperty(value = "班级id")
    private Long classId;

    @ApiModelProperty(value = "请假人姓名")
    private String name;

    @ApiModelProperty(value = "请假人用户名")
    private String username;

    @ApiModelProperty(value = "前往地点")
    private String goArea;

    @ApiModelProperty(value = "维度")
    private Double latitude;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    private String backArea;

    private Double backLatitude;

    private Double backLongitude;

    private String notBackReson;

    private String notArrivedReson;

    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    private Date endTime;


    @ApiModelProperty(value = "1:同意 0:不同意")
    private Integer agree;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "添加修改标识")
    private String typeForEdit;
}
